package com.zsr.service;

import com.zsr.pojo.User;

import java.util.List;

/**
 * @Author zsr
 * @Desc
 * @Date 2021/5/25 21:03
 */
public interface UserService {
    List<User> queryUserList();

    User queryUserById(int id);

    User queryUserByName(String username);

    int addUser(User user);

    int updateUser(User user);

    int deleteUser(User user);

}
